const http = uni.$u.http
// 获取列表通知信息
export const noticeTypes = (params, config = { header: { 'Content-Type': 'application/x-www-form-urlencoded' }, custom: { type: 'ycMainUrl' }}) => http.post('/api/pc/msg/admin/app/user/noticeTypes', params, config)
// 服务通知
export const getConfigTips = (params, config = { custom: { type: 'ycMainUrl' }}) => {
  return http.post('/api/mobile/msg/admin/app/user/type/notices', params, config)
}
// 已读
export const batchUpdateOperate = (params, config = { custom: { type: 'ycMainUrl' }}) => {
  return http.post('/api/mobile/msg/admin/app/batchUpdateOperate', params, config)
}
